package com.hazam.softwarequotes;

import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.routing.Router;

import com.hazam.softwarequotes.resources.Quote;

public class QuotesApplication extends Application {
	@Override
	public Restlet createInboundRoot() {// Create a router Restlet that routes each call to a
        // new instance of HelloWorldResource.
        Router router = new Router(getContext());
 
        // Defines only one route
        router.attachDefault(Quote.class);
 
        return router;
	}
}
